﻿<!DOCTYPE html> 
<html> 
    <head>
        @{
            String pathCSS = @Url.Content("~/FileManager/GetCSS") + "?movimientoId=" + ViewBag.MovimientoId;
            String pathLogo = @Url.Content("~/FileManager/GetLogo") + "?movimientoId=" + ViewBag.MovimientoId;
        }
        <meta charset="utf-8" />
        <title>@ViewBag.MovimientoNombre</title> 
        <meta name="viewport" content="width=device-width" />
        <link rel="stylesheet" href="@Url.Content("~/Content/jquery.mobile-1.1.0.min.css")" />
        <link rel="stylesheet" href="@Url.Content("~/Content/jquery.mobile.structure-1.1.0.min.css")" />
        <link rel="stylesheet" href="@Url.Content("~/Content/jquery.mobile.theme-1.1.0.min.css")" />
        <link rel="stylesheet" href="@Url.Content("~/Content/Site.Mobile.css")" />
        <script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.6.4.min.js")"></script>
        <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.js")" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).bind("mobileinit", function() {
                // As of Beta 2, jQuery Mobile's Ajax navigation does not work in all cases (e.g.,
                // when navigating from a mobile to a non-mobile page), hence disabling it.
                $.mobile.ajaxEnabled = false;
            });
        </script>
        <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.mobile-1.1.0.min.js")"></script>
    </head> 
<body> 

    <div data-role="page" data-theme="a">
        @Html.Partial("_ViewSwitcher")

        @*<div data-role="header">
            <h1>@ViewBag.Title</h1>
        </div>*@

        <div data-role="content">
            <div id="navbar">
                <div id="login">
                    @{Html.RenderAction("LogOn", "Account");}
                </div>
                <a href="@Url.Action("Index", "Home")">
                    <img id="imgLogo" src="@pathLogo" alt="logo" />
                </a>
                <div id="movimientoDescripcion">
                    <h1>@ViewBag.MovimientoNombre</h1>
                    <h2>@ViewBag.MovimientoDescripcion</h2>                
                </div>
            </div>
            @RenderSection("featured", false)
            @RenderBody()		
        </div>

    </div>

</body>
</html>